package com.gts.sofa.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;

/**
 *  父容器
 *  Spring容器不扫描controller,交给springmvc来扫描
 *  excludeFilters 指定那些不要扫描必须传一些Filter数组 type是指定按照那些规则来排除，这个根据注解来排除，标注了@Controller注解的类不扫描
 *  用来扫描业务类的 @Service @Repository @Componet的
 *
 *
 */
@ComponentScan(value = "com.gts.sofa",excludeFilters = {@ComponentScan.Filter(type = FilterType.ANNOTATION,classes = {Controller.class})})
public class RootConfig {



}

